package com.inspur.cloud.entity.dataspace.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(value = "Yarn info对象")
public class YarnInfo {
    /**
     * 队列名
     */
    @ApiModelProperty(value = "队列名字")
    private String queueName;

    /**
     * 队列占比
     */
    @ApiModelProperty(value = "队列占比")
    private String capacity;

    /**
     * 子队列
     */
    @ApiModelProperty(value = "子队列")
    private List<YarnInfo> queue;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    private String state;

    @ApiModelProperty(value = "用户限制因子")
    private Integer userLimitFactor;

    @ApiModelProperty(value = "最小用户限制百分比")
    private Integer minimumUserLimitPercent;

    @ApiModelProperty(value = "最大配额")
    private String maxCapacity;

    @ApiModelProperty(value = "优先级")
    private Integer priority;

}
